
package hk.ces.oxfam.patch.sql;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author ReutyCheng
 */
public class PreparedBatch
{
  private final String sql;
  private List<Object[]> paramsList;

  public PreparedBatch(String sql)
  {
    this.sql = sql;
    this.paramsList = new ArrayList<Object[]>();
  }

  public void addParams(Object[] params)
  {
    this.paramsList.add(params);
  }

  public List<Object[]> getParamsList()
  {
    return paramsList;
  }

  public String getSql()
  {
    return sql;
  }
}
